<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 11025
  Date: 2021/11/29
  Time: 11:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>餐饮</title>
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script src="../js/common.js"></script>
    <link rel="stylesheet" href="../css/news.css">
</head>
<body>
<div class="home">
    <jsp:include page="top.jsp"></jsp:include>
    <div class="middle">
        <div>
            <!--           标题-->
            <div>
                <div class="title">新闻信息</div>
                <div>
                    <div>行业动态</div>
                    <div>餐饮知识</div>
                    <div>公司新闻</div>
                </div>
            </div>
            <!--           内容-->
            <div class="news">
                <div>
                    <c:forEach items="${newsModels}" var="model">
                        <div>
                            <div>
                                <div><img src="${model.imgHref}" height="16" width="16"/></div>
                                <div>${model.title}
                                </div>
                            </div>
                            <div>${model.createTime}</div>
                        </div>
                    </c:forEach>
                </div>
                <!--               分页-->
                <div id="page"></div>
            </div>
        </div>
    </div>
    <jsp:include page="foot.jsp"></jsp:include>
</div>
</body>
</html>
